package cn.qidisoft.edu.hzjt.service.xb.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.qidisoft.edu.hzjt.dao.xb.PartyEnrollSuperviseAttMapper;
import cn.qidisoft.edu.hzjt.model.xb.PartyEnrollSuperviseAttEn;
import cn.qidisoft.edu.hzjt.service.xb.IPartyEnrollSuperviseAttService;

@Service
public class PartyEnrollSuperviseAttServiceImpl implements IPartyEnrollSuperviseAttService {

	@Autowired
	private PartyEnrollSuperviseAttMapper mapper;

	@Override
	public void batchInserts(List<PartyEnrollSuperviseAttEn> records) {
		mapper.batchInserts(records);
	}

	@Override
	public int delete(PartyEnrollSuperviseAttEn entity) {
		mapper.delete(entity);
		return 0;
	}

	@Override
	public List<PartyEnrollSuperviseAttEn> queryList(PartyEnrollSuperviseAttEn entity) {
		return mapper.queryList(entity);
	}

	@Override
	public PartyEnrollSuperviseAttEn queryInfoByPK(PartyEnrollSuperviseAttEn entity) {
		return mapper.queryInfoByPK(entity);
	}

	@Override
	public PartyEnrollSuperviseAttEn queryByFileId(PartyEnrollSuperviseAttEn entity) {
		return mapper.queryByFileId(entity);
	}

}
